package org.example.fastproject.web.sys.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author 王海舟
 * @since 2023-01-31 10:50:22
 */
@Getter
@Setter
@TableName("sys_menu")
@ApiModel(value = "SysMenu对象", description = "菜单表")
public class SysMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("菜单id")
    private Long id;

    @ApiModelProperty("父级菜单id（默认0）")
    private Long parentId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("层级（默认1）")
    private Integer level;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("菜单名")
    private String name;

    @ApiModelProperty("路径")
    private String path;

    @ApiModelProperty("前端路径")
    private String frontPath;

    @ApiModelProperty("隐藏（1-是，0-否）")
    private Integer hide;

    @ApiModelProperty("创建者id")
    private Long createUser;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新者id")
    private Long updateUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;


}
